package imp

/**
  * 隐式参数和隐式变量，必须结合使用
  */
object ImplicitParameter extends App {
  def bark(implicit name: String): Unit = println(s"$name say: HooWoo.")


  implicit val t: String = "Hot Dog"

  bark
}
